package service.contract;

import java.util.List;

import exception.Exceptions;

import model.TContract;
import model.contract.Contractensure;
import model.contract.Contractmortgage;
import model.contract.Contractpledge;
import model.contract.Loangrant;


public interface ShowContractService {
	public abstract List<?> get_htList(String str);
	public abstract List<TContract> get_htList();
	public abstract List<?> show_htList(String str);
	
	public abstract TContract get_ht(Integer htid)throws Exceptions;
	public abstract TContract get_ht(String name,Integer value)throws Exceptions;
	public abstract TContract get_ht(String name,String value)throws Exceptions;

	//合同详细中显示相关合同
	public abstract List<?> get_htRelation(String name,String value,String type);
	
	public abstract Contractensure get_htEnsure(Integer id)throws Exceptions;
	public abstract Contractensure get_htEnsure(String name,Integer value)throws Exceptions;
	public abstract Contractensure get_htEnsure(String name,String value)throws Exceptions;
	public abstract List<Contractensure> get_htEnsure();
	public abstract Integer getCount(Integer type,String value);
	
	public abstract Contractmortgage get_htMortgage(Integer id)throws Exceptions;
	public abstract Contractmortgage get_htMortgage(String name,Integer value)throws Exceptions;
	public abstract Contractmortgage get_htMortgage(String name,String value)throws Exceptions;
	public abstract List<Contractmortgage> get_htMortgage();
	
	public abstract Contractpledge get_htPledge(Integer id)throws Exceptions;
	public abstract Contractpledge get_htPledge(String name,Integer value)throws Exceptions;
	public abstract Contractpledge get_htPledge(String name,String value)throws Exceptions;
	public abstract List<Contractpledge> get_htPledge();
	
	public abstract List<Loangrant> get_loangrant(String str);
}